<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="commodityTeamList.title"/></title>
    <meta name="heading" content="<fmt:message key='commodityTeamList.heading'/>"/>
    <meta name="menu" content="commodityTeamMenu"/>
</head>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editCommodityTeam"/>'"
       value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'"
       value="<fmt:message key="button.done"/>"/>

<display:table name="commodityTeams" class="table" requestURI="" id="commodityTeamList" export="true" pagesize="25">
<display:column property="id" sortable="true" href="editCommodityTeam" media="html"
paramId="id" paramProperty="id" titleKey="commodityTeam.id"/>
<display:column property="id" media="csv excel xml pdf" titleKey="commodityTeam.id"/>
<display:column property="name" sortable="true" titleKey="commodityTeam.name"/>
<display:column property="code" sortable="true" titleKey="commodityTeam.code"/>
    <display:column property="comments" sortable="true" titleKey="commodityTeam.comments"/>


<display:setProperty name="paging.banner.item_name"><fmt:message key="commodityTeamList.commodityTeam"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message key="commodityTeamList.commodityTeams"/></display:setProperty>

<display:setProperty name="export.excel.filename"><fmt:message key="commodityTeamList.title"/>.xls</display:setProperty>
<display:setProperty name="export.csv.filename"><fmt:message key="commodityTeamList.title"/>.csv</display:setProperty>
<display:setProperty name="export.pdf.filename"><fmt:message key="commodityTeamList.title"/>.pdf</display:setProperty>
</display:table>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editCommodityTeam"/>'"
       value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'"
       value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("commodityTeamList");
</script>